var cfg={	
	//dev:'/api-mock', //本地mock api
	//dev:'/api-zhuliang/contract_web', //代理- 朱亮
	//dev:'/api-176/contract_web', //代理--测试服
	dev:'http://172.16.10.176:8083/contract_web', //测试服--非代理
	dev_download:'http://172.16.10.176:8083/contract_web',
	pro_download:'/contract_web',
	pro:'/contract_web'
};

var base_url='';
var base_url_download='';
switch(process.env.NODE_ENV){
	case "development":
		base_url=cfg.dev;
		base_url_download=cfg.dev_download;
		break;
	case "testing":
		base_url=cfg.dev;
		base_url_download=cfg.dev_download;
		break;
	case "production":
		base_url=cfg.pro;
		base_url_download=cfg.pro_download;
		break;
}

export const baseURL=base_url
export const baseURLDownload=base_url_download
